Bad Pairs in Software Testing

نویسندگان

  • Daniel Hoffman
  • Chien Chang
  • Gary Bazdell
  • Brett Stevens
  • Kevin Yoo
چکیده

With pairwise testing, the test model is a list of N parameters. Each test case is an N -tuple; the test space is the cross product of the N parameters. A pairwise test is a set of N -tuples where every pairwise combination of the parameter values is contained in at least one of the N -tuples. Well-known algorithms generate pairwise test sets far smaller than the test space. Pairwise testing has good tool support and is widely known in industry and academia. Empirical results have shown the effectiveness of the approach. While pairwise testing is used to generate test inputs, we propose a novel analysis of the test outputs. We focus on bad pairs: those which always result in a failed test case. We experimentally evaluate the frequency of occurrence of bad pairs using mutation testing with 1 and 2 faults per mutant. The results provide useful insights into two important relationships: (1) between faults and bad pairs and (2) between input selection and bad pairs. We then apply the approach to an industrial example in network vulnerability testing. We also present error-locating arrays, a recent theoretical result providing a powerful tool for bad pairs analysis.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Priority based data flow testing

Software testing is an expensive component of software development and maintenance. For data flow testing, test cases must be found t o test the def-use pairs in a program. Since some o f the def-use pairs identified through static analysis may be infeasible, no amount of testing effort may result in exhaustive testing of a program. Therefore in practice a fixed amount of effort is spent in tes...

متن کامل

Testing Efficiency of an Arbitrage in Foreign Exchange Market (Forex): Simultaneous Ordering of Three Major Currency Pairs

In searching a market-neutral arbitrage strategy in forex market, we took a portfolio of three major currency pairs, EUR-USD, USD-JPY, and EUR-JPY. There are eight approaches, different cases of short and long positions; for example buying 1st and selling two others, etc. Historical daily FX rates were gathered since January 1990 until February 2011. Monthly covariances between daily growth rat...

متن کامل

The Effect of Common and Unique Features in Consumer Choice

Consumer choice often involves a comparison among the available alternatives. Recent research finds that features shared by alternatives are canceled and greater weight is placed on the unique features in choosing among the alternatives provided. Building on this research, the authors propose that the attractiveness of the choice set can be enhanced or reduced by aitering which features appear ...

متن کامل

Using Program Slicing Technique to Reduce the Cost of Software Testing

Systems of computers and their application in the lives of modern human beings are vastly expanding. In any kind of computer application, failure in computer systems can lead to a range of financial and mortal losses. Indeed, the major origin of software failure can be located in designing or implementing software. With regard to these statistics, 30% of the software projects have been prospero...

متن کامل

Universally bad integers and the 2 - adics

In his 1964 paper, de Bruijn (Math. Comp. 18 (1964) 537) called a pair ða; bÞ of positive odd integers good, if Z 1⁄4 aS~2bS; where S is the set of nonnegative integers whose 4-adic expansion has only 0’s and 1’s, otherwise he called the pair ða; bÞ bad. Using the 2-adic integers we obtain a characterization of all bad pairs. A positive odd integer u is universally bad if ðua; bÞ is bad for all...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010